package com.nursinghome.common.mapper;

import com.nursinghome.annotation.Page;
import com.nursinghome.bean.Goods;

import java.util.List;

/**
* @author 程硕
* @createDate 2025-04-07 01:09:36
* @Entity com.nursinghome.bean.Goods
*/
public interface GoodsMapper {
    //新增
    Integer insert(Goods goods);
    //修改
    Integer update(Goods goods);
    //根据id回显数据
    Goods selectById(Integer id);
    @Page
    //查询所有
    List<Goods> selectAll(Goods goods);

}
